package com.anlogic.sdk.efuse.model;

import java.util.ArrayList;
import java.util.List;

public enum GroupId {
	FIRST(0, "First"), SECOND(1, "Second");
	
	private int id;
	
	private String name;
	
	GroupId(int id, String name) {
		this.id = id;
		this.name = name;
	}

	public int getId() {
		return this.id;
	}
	
	public String getName() {
		return this.name;
	}
	
	public static List<String> getAllNames() {
        List<String> list = new ArrayList<>();
        GroupId[] values = values();
        for(GroupId item : values) {
        	list.add(item.getName());
        }
        return list;
    }
}
